[[package]]
name = "curl"
version = "0.1.0"
-source = "git+https://github.com/carllerche/curl-rust#6f007b4967ec12e36937dcb081abe0bdb3bcc508"
+source = "git+https://github.com/carllerche/curl-rust#8e8e28955c3289fa77f7d6eb3962dc87a18df9ce"
dependencies = [
"curl-sys 0.1.0 (git+https://github.com/carllerche/curl-rust)",
"url 0.2.2 (git+https://github.com/servo/rust-url)",
[[package]]
name = "curl-sys"
version = "0.1.0"
-source = "git+https://github.com/carllerche/curl-rust#6f007b4967ec12e36937dcb081abe0bdb3bcc508"
+source = "git+https://github.com/carllerche/curl-rust#8e8e28955c3289fa77f7d6eb3962dc87a18df9ce"
dependencies = [
"libz-sys 0.1.0 (git+https://github.com/alexcrichton/libz-sys)",
"openssl-sys 0.2.2 (git+https://github.com/sfackler/rust-openssl)",
[[package]]
name = "flate2"
version = "0.1.0"
-source = "git+https://github.com/alexcrichton/flate2-rs#5cf5e4f57166053590a7f63507f65da72d4e74eb"
+source = "git+https://github.com/alexcrichton/flate2-rs#c8ecf7a411bc6d43bf885f487c01e536490f2aea"
dependencies = [
"miniz-sys 0.1.0 (git+https://github.com/alexcrichton/flate2-rs)",
]
[[package]]
name = "git2"
version = "0.0.1"
-source = "git+https://github.com/alexcrichton/git2-rs#53785d74f5199455501c4ece0c9dd325a01db894"
+source = "git+https://github.com/alexcrichton/git2-rs#0a97e47340323c73e7bb9d294d462f8238ff265d"
dependencies = [
"libgit2-sys 0.0.1 (git+https://github.com/alexcrichton/git2-rs)",
"time 0.1.1 (git+https://github.com/rust-lang/time)",
[[package]]
name = "glob"
version = "0.1.0"
-source = "git+https://github.com/rust-lang/glob#6b26e61315196f198ce9f6553912c0378e399153"
+source = "git+https://github.com/rust-lang/glob#7e1bd4c5917fde41861ee93e067d5d84d3caf5d1"
[[package]]
name = "hamcrest"
[[package]]
name = "libgit2-sys"
version = "0.0.1"
-source = "git+https://github.com/alexcrichton/git2-rs#53785d74f5199455501c4ece0c9dd325a01db894"
+source = "git+https://github.com/alexcrichton/git2-rs#0a97e47340323c73e7bb9d294d462f8238ff265d"
dependencies = [
"libssh2-sys 0.0.1 (git+https://github.com/alexcrichton/ssh2-rs)",
"openssl-sys 0.2.2 (git+https://github.com/sfackler/rust-openssl)",
[[package]]
name = "miniz-sys"
version = "0.1.0"
-source = "git+https://github.com/alexcrichton/flate2-rs#5cf5e4f57166053590a7f63507f65da72d4e74eb"
+source = "git+https://github.com/alexcrichton/flate2-rs#c8ecf7a411bc6d43bf885f487c01e536490f2aea"
dependencies = [
"gcc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "semver"
version = "0.1.3"
-source = "git+https://github.com/rust-lang/semver#9ea3324350693954d3e5d10d43e240db224deff9"
+source = "git+https://github.com/rust-lang/semver#c09b5bdf6b2fcaa719da588a7da98b1145264f56"
[[package]]
name = "tar"
[[package]]
name = "url"
version = "0.2.2"
-source = "git+https://github.com/servo/rust-url#bdda3a7bb946e5f85dd3daeefb54c06fffa8350c"
+source = "git+https://github.com/servo/rust-url#c54ef93a7bfdd7a43b33571b9614376aa5279181"
only_for_platform: Option<String>,
}
-#[deriving(PartialEq, Clone, Show)]
+#[deriving(PartialEq, Clone, Show, Copy)]
pub enum Kind {
Normal,
Development,
}
}
-#[deriving(Show, Clone, PartialEq, Hash, Encodable)]
+#[deriving(Show, Clone, PartialEq, Hash, Encodable, Copy)]
pub enum LibKind {
Lib,
Rlib,
locked: HashMap<SourceId, HashMap<String, Vec<(PackageId, Vec<PackageId>)>>>,
}
-#[deriving(PartialEq, Eq)]
+#[deriving(PartialEq, Eq, Copy)]
enum Kind {
Override,
Locked,
metadata: Option<Metadata>,
}
+#[deriving(Copy)]
pub enum Method<'a> {
Everything,
Required(/* dev_deps = */ bool,
use self::AdequateTerminal::{NoColor, Colored};
+#[deriving(Copy)]
pub struct ShellConfig {
pub color: bool,
pub verbose: bool,
use super::layout::{Layout, LayoutProxy};
use super::custom_build::BuildState;
-#[deriving(Show)]
+#[deriving(Show, Copy)]
pub enum Platform {
Target,
Plugin,
///
/// Each build step for a package is registered with one of these stages, and
/// each stage has a vector of work to perform in parallel.
-#[deriving(Hash, PartialEq, Eq, Clone, PartialOrd, Ord, Show)]
+#[deriving(Hash, PartialEq, Eq, Clone, PartialOrd, Ord, Show, Copy)]
pub enum Stage {
Start,
BuildCustomBuild,
mod layout;
mod links;
-#[deriving(PartialEq, Eq, Hash, Show)]
+#[deriving(PartialEq, Eq, Hash, Show, Copy)]
pub enum Kind { Host, Target }
#[deriving(Default, Clone)]
}
}
-#[deriving(Eq,PartialEq,Clone,Encodable,Decodable)]
+#[deriving(Eq, PartialEq, Clone, Encodable, Decodable, Copy)]
pub enum Location {
Project,
Global
///
/// A fresh package does not necessarily need to be rebuilt (unless a dependency
/// was also rebuilt), and a dirty package must always be rebuilt.
-#[deriving(PartialEq, Eq, Show)]
+#[deriving(PartialEq, Eq, Show, Copy)]
pub enum Freshness {
Fresh,
Dirty,
}
#[deriving(Decodable, Clone, Default)]
+#[allow(missing_copy_implementations)]
pub struct TomlProfile {
opt_level: Option<uint>,
lto: Option<bool>,
log!(4, "normalizing toml targets; lib={}; bin={}; example={}; test={}, benches={}",
libs, bins, examples, tests, benches);
+ #[deriving(Copy)]
enum TestDep { Needed, NotNeeded }
fn merge(profile: Profile, toml: &Option<TomlProfile>) -> Profile {
+#![allow(missing_copy_implementations)]
+
use git2;
use util::{CargoResult, process};
pub type Result<T> = result::Result<T, Error>;
-#[deriving(PartialEq)]
+#[deriving(PartialEq, Copy)]
pub enum Auth {
Authorized,
Unauthorized